<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class Plugin_SetLeftNav extends Zend_Controller_Plugin_Abstract
{

    public function preDispatch(Zend_Controller_Request_Abstract $request)
    {

        $module = $request->getModuleName();
        $layout = Zend_Layout::getMvcInstance();
         $nav = Zend_Registry::get('leftnav');
         $view = $layout->getView();
	$view->leftnavigation = $nav;	
	}
}

?>
